package com.store.controller;


import com.store.configure.Result;
import com.store.entity.Area;
import com.store.service.AreaService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 行政区域字典表 前端控制器
 * </p>
 *
 * @author 
 * @since 2025-01-06
 */
@RestController
@RequestMapping("/area")
public class AreaController {

    @Resource
    private AreaService areaService;

    @RequestMapping("queryAreaList")
    public Result<Area> queryAreaList(@RequestBody Area area) {
        return areaService.queryAreaList(area);
    }

}

